package org.springblade.modules.admin.dto.rescue;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @Description 梯联网-创建救援工单DTO
 * @Author ysq
 * @Date 2023/7/5
 **/
@Data
public class TlwMalfunctionRescueDTO {

	@NotBlank(message = "梯联网设备id不能为空")
	@ApiModelProperty(value = "梯联网设备id")
	private String deviceId;

	@NotBlank(message = "梯联网关联id不能为空")
	@ApiModelProperty(value = "梯联网关联id")
	private String tlwJoinId;

	@NotBlank(message = "报警人姓名不能为空")
	@ApiModelProperty(value = "报警人姓名")
	private String name;

	@NotBlank(message = "联系方式不能为空")
	@ApiModelProperty(value = "联系方式")
	private String phone;

	@ApiModelProperty(value = "楼层")
	private String floor;

	@ApiModelProperty(value = "报警备注")
	private String trapDesc;

	@ApiModelProperty(value = "来源 0-梯联网报警，1-一键呼救")
	private Integer from = 0;

	/**
	 * 梯联网-救援id
	 */
	private String rescueId;

}
